package com.ibeeking.found.common.utils;

import java.nio.charset.Charset;

public interface Constants {
    String IP_PORT_SPLIT_CHAR = ":";
    String CLIENT_ID_SPLIT_CHAR = ":";
    String ENDPOINT_BEGIN_CHAR = "/";
    String DEFAULT_TEMP_PATH = "/home/temp";
    String DBKEYS_SPLIT_CHAR = ",";
    String ROW_LOCK_KEY_SPLIT_CHAR = ";";
    String START_TIME = "start-time";
    String APP_NAME = "appName";
    String ACTION_START_TIME = "action-start-time";
    String ACTION_NAME = "actionName";
    String PREPARE_METHOD = "sys::prepare";
    String COMMIT_METHOD = "sys::commit";
    String ROLLBACK_METHOD = "sys::rollback";
    String HOST_NAME = "host-name";
    String TCC_METHOD_RESULT = "result";
    String TCC_METHOD_ARGUMENTS = "arguments";
    String TCC_ACTIVITY_CONTEXT = "activityContext";
    String TCC_ACTION_CONTEXT = "actionContext";
    String DEFAULT_CHARSET_NAME = "UTF-8";
    Charset DEFAULT_CHARSET = Charset.forName("UTF-8");
    String OBJECT_KEY_SPRING_APPLICATION_CONTEXT = "springApplicationContext";
    String BEAN_NAME_SPRING_APPLICATION_CONTEXT_PROVIDER = "springApplicationContextProvider";
    String BEAN_NAME_FAILURE_HANDLER = "failureHandler";
    String SAGA_TRANS_NAME_PREFIX = "$Saga_";
}
